package business.response;

import static common.Constant.TASK;

import common.util.RedisPool;
import redis.clients.jedis.Jedis;

public class Monitor {
    public static void main(String[] args) {
        Jedis tJedis = RedisPool.getJedis();
        MonitorPubSub tPubSub = new MonitorPubSub();
        tJedis.subscribe(tPubSub, TASK);
    }
}
